package com.guochaojava.property;


import lombok.Data;

/**
 * 连接池配置类
 *
 * @author guochao
 */
@Data
public class DruidProperties {
    private String username;
    private String password;
    private String url;
    private String driverClassName;
    private String filters;
    private int maxActive;
    private int initialSize;
    private long timeBetweenEvictionRunsMillis;
    private long minEvictableIdleTimeMillis;
    private String validationQuery;
    private boolean testWhileIdle;
    private boolean testOnBorrow;
    private boolean testOnReturn;
    private int maxOpenPreparedStatements;
    private boolean removeAbandoned;
    private int removeAbandonedTimeout;
    private boolean logAbandoned;
}
